function out = learn(in)
% actual learning